home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / COMAL / B-Book Series / (k)b4.d64 / sec8.4.1 < prev    next >
Text File  |  2007-02-28  |  161b  |  10 lines

  1. 0010 X:=.82337
  2. 0020 FOR COUNT:=1 TO 20 DO
  3. 0030 PRINT RAN
  4. 0040 ENDFOR COUNT
  5. 0050 FUNC RAN 
  6. 0060 Y:=25.173*X+3.921
  7. 0070 X:=Y-INT(Y)
  8. 0080 RETURN X
  9. 0090 ENDFUNC RAN
  10.